package com.tanhua.dubbo.server.api;

import com.tanhua.dubbo.server.vo.UserLocationVo;

import java.util.List;

/**
 * @description:
 * @author: Administrator
 * @date: Created in 2021/2/28 14:58
 * @version: 0.0.1
 * @modified By:
 */
public interface UpdateUserLocationApi {
    /**
     * @description 更新用户地理位置
     * @author
     * @date
     * @param
     *@return
     */
    String updateUserLocation(Long userId,Double longitude,Double latitude,String address);
    /**
     * @description 查询用户地理位置
     * @author
     * @date
     * @param
     *@return
     */
    UserLocationVo queryByUserId(Long userId);
    /**
     * @description 根据地理位置查询用户
     * @author
     * @date
     * @param
     *@return
     */
    List<UserLocationVo>queryUserFromLocation(Double longitude,Double latitude,Integer range);
}
